<?php
final class Slog_String
{
	static public function camelCaseToVar($text)
	{
		return strtolower(ltrim(preg_replace('/([A-Z]{1})/', '_$1', $text), '_'));		
	}
	
}